<!--
  Generated template for the GameRuntimePage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<div id="app">
    <canvas id="lcd" width="160" height="96" [ngStyle]="{'height': width, 'width': height, 'transform-origin' : 'left top', 'transform' : transform}">然而你的浏览器并不支持HTML5</canvas>

    <div id="zone" *ngIf="game.category_id == 2"></div>
    <div class="btn" id="btn_enter" *ngIf="game.category_id == 2">
        <img src="/assets/imgs/enter.png" alt="">
    </div>
    <div class="btn" id="btn_exit" *ngIf="game.category_id == 2">
        <img src="/assets/imgs/exit.png" alt="">
    </div>
    <div class="btn" id="btn_up" *ngIf="game.category_id == 2">
        <img src="/assets/imgs/up.png" alt="">
    </div>
    <div class="btn" id="btn_down" *ngIf="game.category_id == 2">
        <img src="/assets/imgs/down.png" alt="">
    </div>
    <!-- <div id="back" *ngIf="game.category_id == 2">
        <button ion-button outline small color="light" (click)="goBack()">
            <ion-icon name="power" small></ion-icon>
        </button>
    </div> -->
</div>